package com.shxzz.easy12306.services.user.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.shxzz.easy12306.framework.starter.database.base.BaseDO;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 用户注销记录表
 * @TableName t_user_deletion
 */
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value ="t_user_deletion")
@Data
public class UserDeletionDO extends BaseDO implements Serializable {
    /**
     * ID
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 证件类型
     */
    private Integer idType;

    /**
     * 证件号
     */
    private String idCard;

    /**
     * 注销时间戳
     */
    private Long deletionTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}